import os;
import time;
from machine import Pin;
import network;
import _thread;

p13 = Pin(13, Pin.OUT)    # create output pin on GPIO0
p4 = Pin(4, Pin.OUT)    # create output pin on GPIO0
# LED loop test
def LED_thread_1():
    while True:
		p13.on();
		time.sleep_ms(200);
		p13.off();
		time.sleep_ms(200);
def LED_thread_2():
    while True:
		p4.on();
		time.sleep_ms(200);
		p4.off();
		time.sleep_ms(200);
		

def  test():
	music.play(music.BIRTHDAY , pin=p13)
		

if __name__ == '__main__':
	_thread.start_new_thread(LED_thread_1)
	_thread.start_new_thread(LED_thread_2)

